package com.red.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 周边商品信息表
 * </p>
 *
 * @author author
 * @since 2025-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("products")
@ApiModel(value="Products对象", description="周边商品信息表")
public class Products implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "销售价格")
    private Double price;

    @ApiModelProperty(value = "商品详情描述")
    private String description;

    @ApiModelProperty(value = "展示图地址")
    private String imageUrl;


    @ApiModelProperty(value = "当前库存量")
    private Integer stock;

    @ApiModelProperty(value = "其他照片")
    private String detailImage;

    private Long categoryId;

    @ApiModelProperty(value = "状态")
    private Integer status;

}
